package com.bops.dal.product.dao;

import java.util.HashMap;
import java.util.List;

import com.bops.dal.product.dataobject.TypeOne;
import com.bops.dal.product.queryobject.TypeOneQuery;


public interface Type1DAO {
	
	int countType1(HashMap<String, Object> map);
	int deleteType1ById(Integer id);
	TypeOne findType1ById(Integer id);
	TypeOne findIDByName(String name);
	boolean insertType1(TypeOne editType1);
	int updateType1(TypeOne editType1);
	List<TypeOne> listType1(TypeOneQuery queryType1);
	List<TypeOne> completeType1(TypeOneQuery queryType1);
	int checkType1Name(TypeOne editType1 );
	
}
